//
//  ControlPanelView.h
//  GJDigitalSDK
//
//  Created by wbb on 2021/11/9.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, WAV_ENUM) {
    WAV1_ENUM,
    WAV2_ENUM,
};
typedef NS_ENUM(NSUInteger, LONG_PRESS_ENUM) {
    LONG_PRESS_BEGIN,
    LONG_PRESS_END,
};
NS_ASSUME_NONNULL_BEGIN
typedef void(^ContentBlock)(NSString *content);
typedef void(^WavChooseBlock)(WAV_ENUM wavType);
typedef void(^SendBlock)(void);
typedef void(^LongPressBlock)(LONG_PRESS_ENUM long_press_type);
typedef void(^CancelBlock)(void);

@interface ControlPanelView : UIView
@property (nonatomic, copy) ContentBlock contentBlock;
@property (nonatomic, copy) WavChooseBlock wavChooseBlock;
@property (nonatomic, copy) SendBlock sendBlock;
@property (nonatomic, copy) LongPressBlock longPressBlock;
@property (nonatomic, copy) CancelBlock cancelBlock;

@end

NS_ASSUME_NONNULL_END
